package com.test.clyq.entity;

import com.test.entity.Item;
import com.test.json.JsonUtil;

/**
 * UsersLog. <br>
 * 用户访问日志统计实体.
 * <p>
 * Copyright: Copyright (c) 2010-8-17 下午05:00:31
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * Author: liuxl@c-platform.com
 * <p>
 * Version: 1.0
 * <p>
 */
public class VisitLogsStats implements Item {

	/**   */
	private static final long serialVersionUID = 1L;

	private long id;

	private long visitCategoryId;

	private String visitClientIp;

	private long visitEntityitemId;

	private String visitMethod;

	private long visitTime;

	private String visitUa;

	public Long getId() {
		return id;
	}

	public long getVisitCategoryId() {
		return visitCategoryId;
	}

	public String getVisitClientIp() {
		return visitClientIp;
	}

	public long getVisitEntityitemId() {
		return visitEntityitemId;
	}

	public String getVisitMethod() {
		return visitMethod;
	}

	public long getVisitTime() {
		return visitTime;
	}

	public String getVisitUa() {
		return visitUa;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setVisitCategoryId(long visitCategoryId) {
		this.visitCategoryId = visitCategoryId;
	}

	public void setVisitClientIp(String visitClientIp) {
		this.visitClientIp = visitClientIp;
	}

	public void setVisitEntityitemId(long visitEntityitemId) {
		this.visitEntityitemId = visitEntityitemId;
	}

	public void setVisitMethod(String visitMethod) {
		this.visitMethod = visitMethod;
	}

	public void setVisitTime(long visitTime) {
		this.visitTime = visitTime;
	}

	public void setVisitUa(String visitUa) {
		this.visitUa = visitUa;
	}

	public String toJSON() {
		return JsonUtil.getJsonStringFromObject(this);
	}

	public String toXML() {
		// TODO Auto-generated method stub
		return null;
	}

}
